#ifndef IRESOURCE_H
#define IRESOURCE_H

#include "../Config/Export.h"
#include <string>

namespace epix {

class SHARED IResource
{
    public:

        IResource(const char *name);
        virtual ~IResource();

        int addRef();
        int release();

        const std::string &getName() const;

    private:

        IResource(IResource&);
        void operator =(IResource&);

        int _refCount;
        std::string _name;

};

}

#endif

